<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>系统版本号管理 | 新增系统版本号</title>
<@fm.header />
</head>
<body>
<div class="easyui-layout" style="text-align: center; height: 500px;" fit="true">
	<div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
	<form id="ff" method="post">
	    <table>
	        <tr>
	            <td><label for="ver">版本号:</label></td>
	            <td><input class="easyui-validatebox" type="text" name="ver" data-options="required:true,validType:'length[1,25]'"></input></td>
	        </tr>
	        <tr>
	            <td><label for="ver">状态:</label></td>
	            <td>
	            	<select class="easyui-combobox" name="isUseful" panelHeight="auto" style="width:155px" >
				        <option value="1" >启用</option>
				    	<option value="0" >作废</option>
				    </select>
	            </td>
	        </tr>
	        <tr>
	            <td><label for="verDesc">描述:</label></td>
	            <td><textarea class="easyui-validatebox" name="verDesc" style="width:200px;height:40px;" data-options="validType:'length[0,200]'"></textarea></td>
	        </tr>
	    </table>
	</form>
	</div>
	<div region="south" border="false" style="text-align: center; padding: 5px 5px 5px 0;">
	    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm('/sysver/add');">提交</a>
	    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearForm();">重置</a>
	</div>
</div>
<script>
$(function(){
	$("input").bind("keyup afterpaste", function(){
		$(this).val($(this).val().replace(/\s/g,''));
	});
});
</script>
</body>
</html>